#ifndef __LOGF_IPS__
#define __LOGF_IPS__

struct logf_act_ips_detect_3 {
  struct in6_addr attacker_ip;
  struct in6_addr victim_ip;
  u_int64_t byte_cnt;
  u_int32_t attack_id;
  u_int32_t pkt_cnt;
};

#define ERROR_BAD_PARAMETER -1
#define ERROR_MALLOC -2

#define DPRINTF(fmt_str, ...) fprintf(stderr, "%s:%d " fmt_str, __FILE__, __LINE__, ##__VA_ARGS__)

#endif
